
package es.udc.emarketapp.http.controller.frontcontroller;

import org.apache.struts.action.ActionMapping;

public class EMarketActionMapping extends ActionMapping {

    private boolean authenticationRequired;
    private boolean adminRequired;
    private boolean sellerRequired;
    private boolean clientRequired;
    
    public EMarketActionMapping() {
	authenticationRequired = false;
        adminRequired = false;
        sellerRequired = false;
        clientRequired = false;
    }
    
    public boolean getAuthenticationRequired() {
	return authenticationRequired;
    }
    
    public void setAuthenticationRequired(boolean authenticationRequired) {
	this.authenticationRequired = authenticationRequired;
    }

    public boolean isAdminRequired() {
        return adminRequired;
    }

    public void setAdminRequired(boolean adminRequired) {
        this.adminRequired = adminRequired;
    }

    public boolean isClientRequired() {
        return clientRequired;
    }

    public void setClientRequired(boolean clientRequired) {
        this.clientRequired = clientRequired;
    }

    public boolean isSellerRequired() {
        return sellerRequired;
    }

    public void setSellerRequired(boolean sellerRequired) {
        this.sellerRequired = sellerRequired;
    }
    
    
}